/**
 * 模拟等待
 *
 * @param time 毫秒数
 */
const waitTimePromise = async (time = 100) => {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve(true);
    }, time);
  });
};

const WaitUtil = {
  waitTimePromise
};

export default WaitUtil;
